home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_41729.txt < prev    next >
Text File  |  1991-02-27  |  2KB  |  91 lines

  1. -- card: 41729 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0007
  11. -- rect: left=30 top=78 right=296 bottom=478
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 4
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 12
  19. -- part name: 
  20.  
  21.  
  22. -- part contents for card part 1
  23. ----- text -----
  24. ----------------------------- TC version --------------------------
  25.  
  26.  
  27. /*
  28. *   FILE:    person.h
  29. *   AUTHOR:  R.G.
  30. *   CREATED: June 25, 1990
  31. *   
  32. *   header defines Person class
  33. */
  34.  
  35. # define _H_person
  36. # include "class.h"
  37.  
  38. /******************************************************************
  39. *   Person class
  40. ******************************************************************/
  41. struct  Person:Generic_Class
  42. {
  43.     char    *name;
  44.     int     age;
  45.  
  46.     int     init(void);
  47.     void    set(void);
  48.     void    print(void);
  49.     int     destroy(void);
  50. };
  51.  
  52.  
  53. ---------------------------- C++ version --------------------------
  54.  
  55.  
  56. /*
  57. *   FILE:    person.h
  58. *   AUTHOR:  R.G.
  59. *   CREATED: June 25, 1990
  60. *   
  61. *   header defines Person class
  62. */
  63.  
  64. # ifndef person_h
  65. # define person_h
  66. # include "class.h"
  67.  
  68. /******************************************************************
  69. *   Person class
  70. ******************************************************************/
  71. struct  Person:Generic_Class
  72. {
  73.     char    *name;
  74.     int     age;
  75.  
  76.     int     init(void);           /* already virtual */
  77.     virtual void    set(void);
  78.     virtual void    print(void);
  79.     int     destroy(void);        /* already virtual */
  80. };
  81.  
  82. # endif
  83.  
  84.  
  85. -- part contents for background part 7
  86. ----- text -----
  87. 133
  88.  
  89. -- part contents for background part 4
  90. ----- text -----
  91. File 3 of 7: